package com.snail.ron.design.factory.abstractFactory.facory.impl;

import com.snail.ron.design.factory.abstractFactory.facory.AbstractFactory;
import com.snail.ron.design.factory.abstractFactory.model.Keyboard;
import com.snail.ron.design.factory.abstractFactory.model.MainFrame;
import com.snail.ron.design.factory.abstractFactory.model.Monitor;
import com.snail.ron.design.factory.abstractFactory.model.impl.DellKeyboard;
import com.snail.ron.design.factory.abstractFactory.model.impl.DellMainFrame;
import com.snail.ron.design.factory.abstractFactory.model.impl.DellMonitor;

/**
 * @author xueguoping
 * @desc: TODO
 * @date 2022/4/1411:22
 */
public class DellAbstractFactory implements AbstractFactory {
    @Override
    public Keyboard createKeyboard() {
        return new DellKeyboard();
    }

    @Override
    public MainFrame createMainFrame() {
        return new DellMainFrame();
    }

    @Override
    public Monitor createMonitor() {
        return new DellMonitor();
    }
}
